import React, { Component } from 'react'

export default class Event extends Component {
    change = (num) => {
        console.log(num)
    }
    render() {
        return (
            <div>
                <button onClick={ () => {
                    this.change(888)
                } }>点我</button>
            </div>
        )
    }
}
